package com.sixth.dao;

import com.sixth.entity.ShoucangTeacher;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ShoucangTeacherDao {
    int deleteByPrimaryKey(String id);

    int insert(ShoucangTeacher record);

    int insertSelective(ShoucangTeacher record);

    ShoucangTeacher selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ShoucangTeacher record);

    int updateByPrimaryKey(ShoucangTeacher record);

    @Select("SELECT * from tb_shoucang_teacher where member_id=#{id}")
    List<String> findTeacher(String id);
}